package edu.sctu.xiangkun.day201506.day20150628;

import java.io.IOException;

/**
 * Created by user04 on 2015/6/28.
 */
public class ProgramEntry {
    public static final String URL= "http://api.ii.com.cn";

    public static final String URL_PATH = URL+"/goods/apprec";
    public static void main(String[] args) throws IOException {

        InterfaceData interfaceData = new InterfaceData();
        interfaceData.run();
        interfaceData.getInterfaceData(URL_PATH);
        System.out.println();

        String path = JsonUtil.GetJson(URL_PATH);
        JsonUtil.toJsonString(path);
        JsonUtil.serializableGoods();
        JsonUtil.printfJson();
        System.out.println();

        ComparePrice comparePrice = new ComparePrice();
        comparePrice.getPrice(JsonAppbean.getDateObj());

    }
}
